﻿for(var i = 0; i < 79; i++) { var scriptId = 'u' + i; window[scriptId] = document.getElementById(scriptId); }

$axure.eventManager.pageLoad(
function (e) {

if ((GetWidgetText('u24')) != (GetGlobalVariableValue('TenKH'))) {

SetWidgetRichText('u21', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">1</span></p>');

SetWidgetRichText('u39', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">2</span></p>');

SetWidgetRichText('u23', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">KH001</span></p>');

SetWidgetRichText('u41', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">KH002</span></p>');

SetWidgetRichText('u25', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">' + (GetGlobalVariableValue('TenKH')) + '</span></p>');

SetWidgetRichText('u43', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">' + (GetGlobalVariableValue('TenKH1')) + '</span></p>');

SetWidgetRichText('u27', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">' + (GetGlobalVariableValue('DChi')) + '</span></p>');

SetWidgetRichText('u45', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">' + (GetGlobalVariableValue('DChi1')) + '</span></p>');

SetWidgetRichText('u29', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">' + (GetGlobalVariableValue('GTinh')) + '</span></p>');

SetWidgetRichText('u47', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">' + (GetGlobalVariableValue('GTinh1')) + '</span></p>');

SetWidgetRichText('u31', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">' + (GetGlobalVariableValue('DT')) + '</span></p>');

SetWidgetRichText('u49', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">' + (GetGlobalVariableValue('DT1')) + '</span></p>');

SetWidgetRichText('u33', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">42</span></p>');

SetWidgetRichText('u51', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">100</span></p>');

SetWidgetRichText('u35', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">2503500</span></p>');

SetWidgetRichText('u53', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">20000000</span></p>');

SetWidgetRichText('u37', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">24</span></p>');

SetWidgetRichText('u55', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">50</span></p>');

}
else
if (true) {

;

SetWidgetRichText('u21', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">1</span></p>');

SetWidgetRichText('u23', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">KH001</span></p>');

SetWidgetRichText('u25', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Lê Kim Dũng</span></p>');

SetWidgetRichText('u27', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Lầu 3, Block C6, Phú Mỹ hưng, Q.7</span></p>');

SetWidgetRichText('u29', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Nam</span></p>');

SetWidgetRichText('u31', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">0906929843</span></p>');

SetWidgetRichText('u33', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">42</span></p>');

SetWidgetRichText('u35', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">2503500</span></p>');

SetWidgetRichText('u37', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">24</span></p>');

SetWidgetRichText('u39', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">2</span></p>');

SetWidgetRichText('u41', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">KH002</span></p>');

SetWidgetRichText('u43', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Nguyễn Văn B</span></p>');

SetWidgetRichText('u45', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Tân Phú, TP.HCM</span></p>');

SetWidgetRichText('u47', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">Nam</span></p>');

SetWidgetRichText('u49', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">0908123456</span></p>');

SetWidgetRichText('u51', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">100</span></p>');

SetWidgetRichText('u53', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">20000000</span></p>');

SetWidgetRichText('u55', '<p style="text-align:center;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">50</span></p>');

}

});
gv_vAlignTable['u21'] = 'center';gv_vAlignTable['u51'] = 'center';gv_vAlignTable['u25'] = 'center';gv_vAlignTable['u55'] = 'center';gv_vAlignTable['u76'] = 'top';gv_vAlignTable['u23'] = 'center';
u62.style.cursor = 'pointer';
$axure.eventManager.click('u62', function(e) {

if (true) {

    self.location.href="resources/reload.html#" + encodeURI($axure.globalVariableProvider.getLinkUrl($axure.pageData.url));

}
});
gv_vAlignTable['u53'] = 'center';gv_vAlignTable['u7'] = 'center';
u66.style.cursor = 'pointer';
$axure.eventManager.click('u66', function(e) {

if (true) {

    self.location.href="resources/reload.html#" + encodeURI($axure.globalVariableProvider.getLinkUrl($axure.pageData.url));

}
});
gv_vAlignTable['u60'] = 'center';gv_vAlignTable['u19'] = 'center';gv_vAlignTable['u49'] = 'center';gv_vAlignTable['u11'] = 'center';gv_vAlignTable['u41'] = 'center';document.getElementById('u71_img').tabIndex = 0;

u71.style.cursor = 'pointer';
$axure.eventManager.click('u71', u71Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u71LinksClick'></div>")
var u71LinksClick = document.getElementById('u71LinksClick');
function u71Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u71LinksClick');
}

InsertBeforeEnd(u71LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u71Clicku78353c52367845b3a57f62c35bb0c5ac(event)'>Bán Hàng</div>");
function u71Clicku78353c52367845b3a57f62c35bb0c5ac(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('banhang.html');

	ToggleLinks(e, 'u71LinksClick');
}

InsertBeforeEnd(u71LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u71Clicku534a46dc62d24458a87c6323a8bff70a(event)'>Nhập Hàng</div>");
function u71Clicku534a46dc62d24458a87c6323a8bff70a(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('nhaphang.html');

	ToggleLinks(e, 'u71LinksClick');
}

InsertBeforeEnd(u71LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u71Clicku73e425975d104705a8b73b871b734c2f(event)'>Đặt Hàng</div>");
function u71Clicku73e425975d104705a8b73b871b734c2f(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('dathang.html');

	ToggleLinks(e, 'u71LinksClick');
}

InsertBeforeEnd(u71LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u71Clicku5dd0fa54715146298f3bad464d11f2c2(event)'>Tra cứu khách hàng</div>");
function u71Clicku5dd0fa54715146298f3bad464d11f2c2(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('tracuukh.html');

	ToggleLinks(e, 'u71LinksClick');
}
gv_vAlignTable['u15'] = 'center';gv_vAlignTable['u45'] = 'center';gv_vAlignTable['u75'] = 'top';gv_vAlignTable['u37'] = 'center';gv_vAlignTable['u13'] = 'center';gv_vAlignTable['u43'] = 'center';gv_vAlignTable['u0'] = 'top';gv_vAlignTable['u17'] = 'center';gv_vAlignTable['u27'] = 'center';gv_vAlignTable['u47'] = 'center';document.getElementById('u73_img').tabIndex = 0;

u73.style.cursor = 'pointer';
$axure.eventManager.click('u73', u73Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u73LinksClick'></div>")
var u73LinksClick = document.getElementById('u73LinksClick');
function u73Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u73LinksClick');
}

InsertBeforeEnd(u73LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u73Clicku24ff2be4862c4f81971597aa33b2b1c1(event)'>Báo Cáo Thu Chi</div>");
function u73Clicku24ff2be4862c4f81971597aa33b2b1c1(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('bao_cao_thu_chi.html');

	ToggleLinks(e, 'u73LinksClick');
}

InsertBeforeEnd(u73LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u73Clickueaa28a4173fa47ed8871d71cee268f15(event)'>Thông Tin Khách Hàng</div>");
function u73Clickueaa28a4173fa47ed8871d71cee268f15(e)
{

    self.location.href="resources/reload.html#" + encodeURI($axure.globalVariableProvider.getLinkUrl($axure.pageData.url));

	ToggleLinks(e, 'u73LinksClick');
}

InsertBeforeEnd(u73LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u73Clicku342a7508bc7946c99ac60189db38cbb1(event)'>Thông Tin Sản Phẩm</div>");
function u73Clicku342a7508bc7946c99ac60189db38cbb1(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('sp.html');

	ToggleLinks(e, 'u73LinksClick');
}

InsertBeforeEnd(u73LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u73Clicku21e945f0d79a4cd3aaa0dd88ea1eab61(event)'>Thông Tin Nhân Viên</div>");
function u73Clicku21e945f0d79a4cd3aaa0dd88ea1eab61(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('nv.html');

	ToggleLinks(e, 'u73LinksClick');
}

InsertBeforeEnd(u73LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u73Clickucb50cf6d204f4d67911a0a6378d8c101(event)'>Theo Dõi Nhập Hàng</div>");
function u73Clickucb50cf6d204f4d67911a0a6378d8c101(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('theo_doi_NH.html');

	ToggleLinks(e, 'u73LinksClick');
}

InsertBeforeEnd(u73LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u73Clicku22c3c428dfef4dd791a842cd5c96f589(event)'>Theo Dõi Bán Hàng</div>");
function u73Clicku22c3c428dfef4dd791a842cd5c96f589(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('theo_doi_BH.html');

	ToggleLinks(e, 'u73LinksClick');
}

InsertBeforeEnd(u73LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u73Clicku296c33dd5c8c47a59036b71301d33a26(event)'>Theo Dõi Đặt Hàng</div>");
function u73Clicku296c33dd5c8c47a59036b71301d33a26(e)
{

	self.location.href=$axure.globalVariableProvider.getLinkUrl('theo_doi_DH.html');

	ToggleLinks(e, 'u73LinksClick');
}
gv_vAlignTable['u3'] = 'center';gv_vAlignTable['u39'] = 'center';document.getElementById('u69_img').tabIndex = 0;

u69.style.cursor = 'pointer';
$axure.eventManager.click('u69', u69Click);
InsertAfterBegin(document.body, "<div class='intcases' id='u69LinksClick'></div>")
var u69LinksClick = document.getElementById('u69LinksClick');
function u69Click(e) 
{
windowEvent = e;


	ToggleLinks(e, 'u69LinksClick');
}

InsertBeforeEnd(u69LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u69Clickuf02ee6c0e2ed4db593e9d0bb4d9f084a(event)'>Sao,Lưu</div>");
function u69Clickuf02ee6c0e2ed4db593e9d0bb4d9f084a(e)
{

	ToggleLinks(e, 'u69LinksClick');
}

InsertBeforeEnd(u69LinksClick, "<div class='intcaselink' onmouseout='SuppressBubble(event)' onclick='u69Clickuf6f99147eddd4031aa3cb82b69f1a401(event)'>Phục Hồi</div>");
function u69Clickuf6f99147eddd4031aa3cb82b69f1a401(e)
{

	ToggleLinks(e, 'u69LinksClick');
}

u78.style.cursor = 'pointer';
$axure.eventManager.click('u78', function(e) {

if (true) {

	self.location.href=$axure.globalVariableProvider.getLinkUrl('Sua_thong_tin_KH.html');

}
});
gv_vAlignTable['u31'] = 'center';
u61.style.cursor = 'pointer';
$axure.eventManager.click('u61', function(e) {

if (true) {

    self.location.href="resources/reload.html#" + encodeURI($axure.globalVariableProvider.getLinkUrl($axure.pageData.url));

}
});
gv_vAlignTable['u35'] = 'center';gv_vAlignTable['u65'] = 'center';
u56.style.cursor = 'pointer';
$axure.eventManager.click('u56', function(e) {

if (true) {

	SetPanelVisibility('u58','','fade',100);

}
});
gv_vAlignTable['u5'] = 'center';gv_vAlignTable['u9'] = 'center';gv_vAlignTable['u33'] = 'center';gv_vAlignTable['u72'] = 'top';
u57.style.cursor = 'pointer';
$axure.eventManager.click('u57', function(e) {

if (true) {

	self.location.href=$axure.globalVariableProvider.getLinkUrl('Dang_Nhap.html');

}
});
gv_vAlignTable['u70'] = 'top';gv_vAlignTable['u74'] = 'top';gv_vAlignTable['u29'] = 'center';